# 短信测试
from ronglian_sms_sdk import SmsSDK

accId = '2c94811c946f6bfb0195f6fe21b542cd'
accToken = '01c93b1d537445278d4c457903831fe5'
appId = '2c94811c946f6bfb0195f6fe237642d4'

def send_message(mobile, code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = 1
    datas = (code, '5分钟')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)
